package com.als.healthymananger.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author aion
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "diets")
public class Diet implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 类型
     */
    @Schema(description = "食品所属类型")
    private String type;

    /**
     * 能含量，卡/100g
     */
    @Schema(description = "能含量，卡/100g")
    private Float power;

    /**
     * 蛋白质含量， %
     */
    @Schema(description = "蛋白质含量， %")
    private Float protein;

    /**
     * 脂肪含量，%
     */
    @Schema(description = "脂肪含量，%")
    private Float fat;

    /**
     * 推荐食用人群
     */
    @Schema(description = "推荐食用人群")
    private String suggestion;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


}
